import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import './index.css'
import {HashRouter,BrowserRouter} from 'react-router-dom'
// 1. BrowserRouter 路有组件
// react-router-dom 路由组件库
// 2. 添加路由
ReactDOM.createRoot(document.getElementById('root')).render(
 <HashRouter>
  <App />
 </HashRouter>
   
)
